package com.zsq.common.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * @author zsq
 * 时间 2020/2/4 14:38
 **/
public class BaseEntity implements Serializable {

    /**
     * 系统菜单表id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * uuid逻辑主键
     */
    private String uuid;

    /**
     * 创建者
     */
    private String creator;

    /**
     * 创建时间
     */
    private String createDateTime;

    /**
     * 更新者
     */
    private String updator;

    /**
     * 更新时间
     */
    private String updateDateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getCreateDateTime() {
        return createDateTime;
    }

    public void setCreateDateTime(String createDateTime) {
        this.createDateTime = createDateTime;
    }

    public String getUpdator() {
        return updator;
    }

    public void setUpdator(String updator) {
        this.updator = updator;
    }

    public String getUpdateDateTime() {
        return updateDateTime;
    }

    public void setUpdateDateTime(String updateDateTime) {
        this.updateDateTime = updateDateTime;
    }

    @Override
    public String toString() {
        return "BaseEntity{" +
                "id=" + id +
                ", uuid='" + uuid + '\'' +
                ", creator='" + creator + '\'' +
                ", createDateTime='" + createDateTime + '\'' +
                ", updator='" + updator + '\'' +
                ", updateDateTime='" + updateDateTime + '\'' +
                '}';
    }
}
